import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 沈明月
 * Date: 2022-11-02
 * Time: 10:31
 */
public class TestSeven {
//输出乘法口诀表
    public static void main1(String[] args) {
        Scanner scanner =new Scanner(System.in);
        int n= scanner.nextInt();
        for (int i = 1; i <= n; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.print("i*j="+i*j+" ");
            }
            System.out.println(" ");
        }
    }
}
